<?php
$this->breadcrumbs=array(
	'Rejestracja'=>array('pacjent/create'),
	'Krok 2',
);

$this->layout = '//layouts/column1';

$cs=Yii::app()->clientScript;
$cs->registerCoreScript('jquery');
$cs->registerScriptFile(Yii::app()->request->baseUrl.'/js/jquery-1.5.1.min.js', CClientScript::POS_BEGIN);
$cs->registerScriptFile(Yii::app()->request->baseUrl.'/js/jquery-ui-1.8.13.custom.min.js', CClientScript::POS_BEGIN);
$cs->registerScriptFile(Yii::app()->request->baseUrl.'/js/jquery.scrollTo-1.4.2-min.js', CClientScript::POS_BEGIN);

?>

<h1>Wybierz lekarza i dogodny termin</h1>

<?php
$pacjent = Pacjent::model()->findByPk($_GET['id']);
echo $this->renderPartial('_form', array('model'=>$model, 'pacjent'=>$pacjent)); ?>